package com.raven.play.stream.test.testkit;

import com.typesafe.config.Config;
import com.typesafe.config.ConfigFactory;

public class AkkaSpec {

    public static Config testConf(){
        return ConfigFactory.parseString("""
      akka {
        loggers = ["akka.testkit.TestEventListener"]
        loglevel = "WARNING"
        stdout-loglevel = "WARNING"
        actor {
          default-dispatcher {
            executor = "fork-join-executor"
            fork-join-executor {
              parallelism-min = 8
              parallelism-factor = 2.0
              parallelism-max = 8
            }
          }
        }
      }
      """);

    }
}
